from django.urls import path, include
from rest_framework.routers import DefaultRouter
from . import views

app_name = 'agents'

# API路由
router = DefaultRouter()
router.register(r'agent-types', views.AgentTypeViewSet)
router.register(r'agents', views.AgentViewSet)
router.register(r'conversations', views.ConversationViewSet)
router.register(r'messages', views.MessageViewSet)

urlpatterns = [
    path('api/', include(router.urls)),
    # Web界面路由将在后续添加
]